package com.easylinkin.linkappapi.meterbilling.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.meterbilling.entity.EnergyConsumption;
import com.easylinkin.linkappapi.meterbilling.entity.MeterDeviceConfig;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface EnergyConsumptionService {

    Page page(Page page, EnergyConsumption energyConsumption);

    void exportData(EnergyConsumption energyConsumption, HttpServletRequest request, HttpServletResponse response);

    List<EnergyConsumption>  getEnergyConsumptionDateSupplement(Page page,EnergyConsumption energyConsumption,List<MeterDeviceConfig> meterDeviceConfigList);

    List<EnergyConsumption> getEnergyConsumptionDate(Page page, EnergyConsumption energyConsumption, List<MeterDeviceConfig> meterDeviceConfigList);
}
